//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.point.model.pointupdaterecord;

import com.fasterxml.jackson.annotation.JsonProperty;

public class PointUpdateRecordForm {
    private String id;
    @JsonProperty("source")
    private String source;
    @JsonProperty("pointnmae")
    private String pointnmae;
    @JsonProperty("pointdesc")
    private String pointdesc;
    @JsonProperty("pointoldvalue")
    private String pointoldvalue;
    @JsonProperty("pointvalue")
    private String pointvalue;
    @JsonProperty("creatoruserid")
    private String creatoruserid;
    @JsonProperty("creatortime")
    private String creatortime;

    public String getId() {
        return this.id;
    }

    public String getSource() {
        return this.source;
    }

    public String getPointnmae() {
        return this.pointnmae;
    }

    public String getPointdesc() {
        return this.pointdesc;
    }

    public String getPointoldvalue() {
        return this.pointoldvalue;
    }

    public String getPointvalue() {
        return this.pointvalue;
    }

    public String getCreatoruserid() {
        return this.creatoruserid;
    }

    public String getCreatortime() {
        return this.creatortime;
    }

    public void setId(String id) {
        this.id = id;
    }

    @JsonProperty("source")
    public void setSource(String source) {
        this.source = source;
    }

    @JsonProperty("pointnmae")
    public void setPointnmae(String pointnmae) {
        this.pointnmae = pointnmae;
    }

    @JsonProperty("pointdesc")
    public void setPointdesc(String pointdesc) {
        this.pointdesc = pointdesc;
    }

    @JsonProperty("pointoldvalue")
    public void setPointoldvalue(String pointoldvalue) {
        this.pointoldvalue = pointoldvalue;
    }

    @JsonProperty("pointvalue")
    public void setPointvalue(String pointvalue) {
        this.pointvalue = pointvalue;
    }

    @JsonProperty("creatoruserid")
    public void setCreatoruserid(String creatoruserid) {
        this.creatoruserid = creatoruserid;
    }

    @JsonProperty("creatortime")
    public void setCreatortime(String creatortime) {
        this.creatortime = creatortime;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PointUpdateRecordForm)) {
            return false;
        } else {
            PointUpdateRecordForm other = (PointUpdateRecordForm)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$source = this.getSource();
                Object other$source = other.getSource();
                if (this$source == null) {
                    if (other$source != null) {
                        return false;
                    }
                } else if (!this$source.equals(other$source)) {
                    return false;
                }

                Object this$pointnmae = this.getPointnmae();
                Object other$pointnmae = other.getPointnmae();
                if (this$pointnmae == null) {
                    if (other$pointnmae != null) {
                        return false;
                    }
                } else if (!this$pointnmae.equals(other$pointnmae)) {
                    return false;
                }

                Object this$pointdesc = this.getPointdesc();
                Object other$pointdesc = other.getPointdesc();
                if (this$pointdesc == null) {
                    if (other$pointdesc != null) {
                        return false;
                    }
                } else if (!this$pointdesc.equals(other$pointdesc)) {
                    return false;
                }

                Object this$pointoldvalue = this.getPointoldvalue();
                Object other$pointoldvalue = other.getPointoldvalue();
                if (this$pointoldvalue == null) {
                    if (other$pointoldvalue != null) {
                        return false;
                    }
                } else if (!this$pointoldvalue.equals(other$pointoldvalue)) {
                    return false;
                }

                Object this$pointvalue = this.getPointvalue();
                Object other$pointvalue = other.getPointvalue();
                if (this$pointvalue == null) {
                    if (other$pointvalue != null) {
                        return false;
                    }
                } else if (!this$pointvalue.equals(other$pointvalue)) {
                    return false;
                }

                Object this$creatoruserid = this.getCreatoruserid();
                Object other$creatoruserid = other.getCreatoruserid();
                if (this$creatoruserid == null) {
                    if (other$creatoruserid != null) {
                        return false;
                    }
                } else if (!this$creatoruserid.equals(other$creatoruserid)) {
                    return false;
                }

                Object this$creatortime = this.getCreatortime();
                Object other$creatortime = other.getCreatortime();
                if (this$creatortime == null) {
                    if (other$creatortime != null) {
                        return false;
                    }
                } else if (!this$creatortime.equals(other$creatortime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof PointUpdateRecordForm;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $source = this.getSource();
        result = result * 59 + ($source == null ? 43 : $source.hashCode());
        Object $pointnmae = this.getPointnmae();
        result = result * 59 + ($pointnmae == null ? 43 : $pointnmae.hashCode());
        Object $pointdesc = this.getPointdesc();
        result = result * 59 + ($pointdesc == null ? 43 : $pointdesc.hashCode());
        Object $pointoldvalue = this.getPointoldvalue();
        result = result * 59 + ($pointoldvalue == null ? 43 : $pointoldvalue.hashCode());
        Object $pointvalue = this.getPointvalue();
        result = result * 59 + ($pointvalue == null ? 43 : $pointvalue.hashCode());
        Object $creatoruserid = this.getCreatoruserid();
        result = result * 59 + ($creatoruserid == null ? 43 : $creatoruserid.hashCode());
        Object $creatortime = this.getCreatortime();
        result = result * 59 + ($creatortime == null ? 43 : $creatortime.hashCode());
        return result;
    }

    public String toString() {
        return "PointUpdateRecordForm(id=" + this.getId() + ", source=" + this.getSource() + ", pointnmae=" + this.getPointnmae() + ", pointdesc=" + this.getPointdesc() + ", pointoldvalue=" + this.getPointoldvalue() + ", pointvalue=" + this.getPointvalue() + ", creatoruserid=" + this.getCreatoruserid() + ", creatortime=" + this.getCreatortime() + ")";
    }
}
